package com.ruoyi.edh.service;

import java.util.List;
import com.ruoyi.edh.domain.EdhWithdraw;
import com.ruoyi.edh.domain.vo.EdhWithdrawVo;
import org.springframework.transaction.annotation.Transactional;

/**
 * 易订货-提现审核Service接口
 *
 * @author xxx
 * @date 2020-09-21
 */
public interface IEdhWithdrawService
{
    /**
     * 查询易订货-提现审核
     *
     * @param id 易订货-提现审核ID
     * @return 易订货-提现审核
     */
    public EdhWithdraw selectEdhWithdrawById(Long id);

    /**
     * 查询易订货-提现审核列表
     *
     * @param edhWithdraw 易订货-提现审核
     * @return 易订货-提现审核集合
     */
    public List<EdhWithdrawVo> selectEdhWithdrawList(EdhWithdraw edhWithdraw);

    /**
     * 新增易订货-提现审核
     *
     * @param edhWithdraw 易订货-提现审核
     * @return 结果
     */
    @Transactional(rollbackFor = Exception.class)
    public int insertEdhWithdraw(EdhWithdraw edhWithdraw);

    /**
     * 修改易订货-提现审核
     *
     * @param edhWithdraw 易订货-提现审核
     * @return 结果
     */
    public int updateEdhWithdraw(EdhWithdraw edhWithdraw);

    /**
     * 批量删除易订货-提现审核
     *
     * @param ids 需要删除的易订货-提现审核ID
     * @return 结果
     */
    public int deleteEdhWithdrawByIds(Long[] ids);

    /**
     * 删除易订货-提现审核信息
     *
     * @param id 易订货-提现审核ID
     * @return 结果
     */
    public int deleteEdhWithdrawById(Long id);
}
